LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := game_shared

LOCAL_MODULE_FILENAME := libgame

LOCAL_SRC_FILES := helloworld/main.cpp \
                   ../../Classes/AppDelegate.cpp \
				   ../../Classes/Archer.cpp \
				   ../../Classes/Arrow.cpp \
				   ../../Classes/Bow.cpp \
				   ../../Classes/CocosHelper.cpp \
				   ../../Classes/GameGlobal.cpp \
				   ../../Classes/GameScene.cpp \
				   ../../Classes/LoginScene.cpp \
				   ../../Classes/Network.cpp \
				   ../../Classes/NetworkDelegate.cpp \
				   ../../Classes/CocosUI/CocosButton.cpp \
				   ../../Classes/CocosUI/CocosJoystick.cpp \
				   ../../Classes/CocosUI/CocosSlide.cpp \
				   ../../Classes/CocosUI/CocosUIContainer.cpp \
				   ../../Classes/SkeletalAnimation/SkinAnimation.cpp \
				   ../../Classes/SkeletalAnimation/math/CommonMath.cpp \
				   ../../Classes/SkeletalAnimation/math/EulerAngles.cpp \
				   ../../Classes/SkeletalAnimation/math/Matrix4X3.cpp \
				   ../../Classes/SkeletalAnimation/math/Quaternion.cpp \
				   ../../Classes/SkeletalAnimation/math/RotationMatrix.cpp \
				   ../../Classes/RakNetSources/_FindFirst.cpp \
				   ../../Classes/RakNetSources/BitStream.cpp \
				   ../../Classes/RakNetSources/CCRakNetSlidingWindow.cpp \
				   ../../Classes/RakNetSources/CCRakNetUDT.cpp \
				   ../../Classes/RakNetSources/CheckSum.cpp \
				   ../../Classes/RakNetSources/CloudClient.cpp \
				   ../../Classes/RakNetSources/CloudCommon.cpp \
				   ../../Classes/RakNetSources/CloudServer.cpp \
				   ../../Classes/RakNetSources/CommandParserInterface.cpp \
				   ../../Classes/RakNetSources/ConnectionGraph2.cpp \
				   ../../Classes/RakNetSources/ConsoleServer.cpp \
				   ../../Classes/RakNetSources/DataCompressor.cpp \
				   ../../Classes/RakNetSources/DirectoryDeltaTransfer.cpp \
				   ../../Classes/RakNetSources/DS_BytePool.cpp \
				   \
				   ../../Classes/RakNetSources/DS_ByteQueue.cpp \
				   ../../Classes/RakNetSources/DS_HuffmanEncodingTree.cpp \
				   ../../Classes/RakNetSources/DS_Table.cpp \
				   ../../Classes/RakNetSources/DynDNS.cpp \
				   ../../Classes/RakNetSources/EmailSender.cpp \
				   ../../Classes/RakNetSources/EncodeClassName.cpp \
				   ../../Classes/RakNetSources/EpochTimeToString.cpp \
				   ../../Classes/RakNetSources/FileList.cpp \
				   ../../Classes/RakNetSources/FileListTransfer.cpp \
				   ../../Classes/RakNetSources/FileOperations.cpp \
				   ../../Classes/RakNetSources/FormatString.cpp \
				   ../../Classes/RakNetSources/FullyConnectedMesh2.cpp \
				   ../../Classes/RakNetSources/Getche.cpp \
				   ../../Classes/RakNetSources/Gets.cpp \
				   ../../Classes/RakNetSources/GetTime.cpp \
				   ../../Classes/RakNetSources/gettimeofday.cpp \
				   ../../Classes/RakNetSources/GridSectorizer.cpp \
				   ../../Classes/RakNetSources/HTTPConnection.cpp \
				   ../../Classes/RakNetSources/IncrementalReadInterface.cpp \
				   ../../Classes/RakNetSources/Itoa.cpp \
				   ../../Classes/RakNetSources/LinuxStrings.cpp \
				   ../../Classes/RakNetSources/LocklessTypes.cpp \
				   ../../Classes/RakNetSources/LogCommandParser.cpp \
				   ../../Classes/RakNetSources/MessageFilter.cpp \
				   ../../Classes/RakNetSources/NatPunchthroughClient.cpp \
				   ../../Classes/RakNetSources/NatPunchthroughServer.cpp \
				   ../../Classes/RakNetSources/NatTypeDetectionClient.cpp \
				   \
				   ../../Classes/RakNetSources/NatTypeDetectionCommon.cpp \
				   ../../Classes/RakNetSources/NatTypeDetectionServer.cpp \
				   ../../Classes/RakNetSources/NetworkIDManager.cpp \
				   ../../Classes/RakNetSources/NetworkIDObject.cpp \
				   ../../Classes/RakNetSources/PacketConsoleLogger.cpp \
				   ../../Classes/RakNetSources/PacketFileLogger.cpp \
				   ../../Classes/RakNetSources/PacketizedTCP.cpp \
				   ../../Classes/RakNetSources/PacketLogger.cpp \
				   ../../Classes/RakNetSources/PacketOutputWindowLogger.cpp \
				   ../../Classes/RakNetSources/PluginInterface2.cpp \
				   ../../Classes/RakNetSources/Rackspace.cpp \
				   ../../Classes/RakNetSources/RakMemoryOverride.cpp \
				   ../../Classes/RakNetSources/RakNetCommandParser.cpp \
				   ../../Classes/RakNetSources/RakNetSocket.cpp \
				   ../../Classes/RakNetSources/RakNetStatistics.cpp \
				   ../../Classes/RakNetSources/RakNetTransport2.cpp \
				   ../../Classes/RakNetSources/RakNetTypes.cpp \
				   ../../Classes/RakNetSources/RakPeer.cpp \
				   ../../Classes/RakNetSources/RakSleep.cpp \
				   ../../Classes/RakNetSources/RakString.cpp \
				   ../../Classes/RakNetSources/RakThread.cpp \
				   ../../Classes/RakNetSources/RakWString.cpp \
				   ../../Classes/RakNetSources/Rand.cpp \
				   ../../Classes/RakNetSources/rdlmalloc.cpp \
				   ../../Classes/RakNetSources/ReadyEvent.cpp \
				   ../../Classes/RakNetSources/ReliabilityLayer.cpp \
				   ../../Classes/RakNetSources/ReplicaManager3.cpp \
				   \
				   ../../Classes/RakNetSources/Router2.cpp \
				   ../../Classes/RakNetSources/RPC4Plugin.cpp \
				   ../../Classes/RakNetSources/SecureHandshake.cpp \
				   ../../Classes/RakNetSources/SendToThread.cpp \
				   ../../Classes/RakNetSources/SHA1.cpp \
				   ../../Classes/RakNetSources/SignaledEvent.cpp \
				   ../../Classes/RakNetSources/SimpleMutex.cpp \
				   ../../Classes/RakNetSources/SocketLayer.cpp \
				   ../../Classes/RakNetSources/StringCompressor.cpp \
				   ../../Classes/RakNetSources/StringTable.cpp \
				   ../../Classes/RakNetSources/SuperFastHash.cpp \
				   ../../Classes/RakNetSources/TableSerializer.cpp \
				   ../../Classes/RakNetSources/TCPInterface.cpp \
				   ../../Classes/RakNetSources/TeamBalancer.cpp \
				   ../../Classes/RakNetSources/TeamManager.cpp \
				   ../../Classes/RakNetSources/TelnetTransport.cpp \
				   ../../Classes/RakNetSources/ThreadsafePacketLogger.cpp \
				   ../../Classes/RakNetSources/TwoWayAuthentication.cpp \
				   ../../Classes/RakNetSources/UDPForwarder.cpp \
				   ../../Classes/RakNetSources/UDPProxyClient.cpp \
				   ../../Classes/RakNetSources/UDPProxyCoordinator.cpp \
				   ../../Classes/RakNetSources/UDPProxyServer.cpp \
				   ../../Classes/RakNetSources/VariableDeltaSerializer.cpp \
				   ../../Classes/RakNetSources/VariableListDeltaTracker.cpp \
				   ../../Classes/RakNetSources/VariadicSQLParser.cpp \
				   ../../Classes/RakNetSources/VitaIncludes.cpp \
				   ../../Classes/RakNetSources/WSAStartupSingleton.cpp \
				   

				   
				   

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \
					$(LOCAL_PATH)/../../Classes/CocosUI \
					$(LOCAL_PATH)/../../Classes/IOSUnit \
					$(LOCAL_PATH)/../../Classes/SkeletalAnimation \
					$(LOCAL_PATH)/../../Classes/RakNetSources \
					$(LOCAL_PATH)/../../Classes/SkeletalAnimation/math \


LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static cocosdenshion_static
            
include $(BUILD_SHARED_LIBRARY)

$(call import-module,CocosDenshion/android) $(call import-module,cocos2dx)
